﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace KingOfCSharp.iHunter
{
    [Flags]
    public enum CommandUIMask
    {
        None = 0,
        Enabled = 1,
        Checked = 2,
        Text = 4,
        Value = 8,
        LargeImage = 16,
        SmallImage = 32,
        Tooltip = 64,
    }

    public class CommandUIEventArgs : EventArgs
    {
        public CommandUIMask Mask { get; set; }
        public string Name { get; set; }
        public bool Enabled { get; set; }
        public bool Checked { get; set; }
        public string Text { get; set; }
        public object Value { get; set; }
        public Image LargeImage { get; set; }
        public Image SmallImage{get;set;}
        public string Tooltip { get; set; }
        public CommandUIEventArgs()
            : base()
        {
        }

    }

    public delegate void CommandUIEventHandler(object sender, CommandUIEventArgs e);
}
